//
// Created by kuafu on 2023/6/25.
//

#ifndef CPPDAP_FIELD_H
#define CPPDAP_FIELD_H

#endif  // CPPDAP_FIELD_H
#include <cstddef>  // ptrdiff_t
#include <string>
namespace dap {

struct TypeInfo;

// Field describes a single field of a struct.
struct Field {
  std::string name;      // name of the field
  ptrdiff_t offset;      // offset of the field to the base of the struct
  const TypeInfo* type;  // type of the field
  std::string alias;      // alias of the field
};
}